using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

using WL.Think.Abp;
using WL.Think.Abp.Extensions;
using WL.Think.Abp.OpenIddict;
using WL.Think.Sample.Domain;

namespace WL.Think.Sample;

[DependsOn(
    typeof(SampleIAppModule),
    typeof(SampleDomainModule),
    typeof(ThinkAbpOpenIddictApplicationModule)
)]
public class SampleAppModule : ThinkAbpApplicationModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        base.ConfigureServices(context);
        context.ConfigureAutoMapper<SampleAppModule>(opts=>opts.AddCollectionMappers());
    }
}
